<!DOCTYPE html>
<html lang="zh-cn">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <title>一行命令更新所有 npm 依赖包 - Lucklyの博客 - 在阅读中遇见自己</title>
    <meta name="renderer" content="webkit" />
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"/>

<meta http-equiv="Cache-Control" content="no-transform" />
<meta http-equiv="Cache-Control" content="no-siteapp" />

<meta name="theme-color" content="#f8f5ec" />
<meta name="msapplication-navbutton-color" content="#f8f5ec">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="#f8f5ec">


<meta name="author" content="Luckly" /><meta name="description" content="npm 包的更新速度很快，为了将项目或者全局依赖更新到最新版本。传统的做法是一个一个更新，比如更新 react 到最新版本，命令如下：
1 2 3 4  # npm npm i --save react@latest # yarn yarn add react@latest   yarn 是 facebook 发明的新一代 js 包管理器，支持离线使用。这是 npm 与 yarn 的 命令对照。 但是，这种做法相当耗时。有没有更简单的方法呢？
" /><meta name="keywords" content="Hugo, theme, even" />






<meta name="generator" content="Hugo 0.79.1 with even 4.0.0" />


<link rel="canonical" href="https://luckly.work/2019/04/%E4%B8%80%E8%A1%8C%E5%91%BD%E4%BB%A4%E6%9B%B4%E6%96%B0%E6%89%80%E6%9C%89-npm-%E4%BE%9D%E8%B5%96%E5%8C%85/" />
<link href="/2019/04/%E4%B8%80%E8%A1%8C%E5%91%BD%E4%BB%A4%E6%9B%B4%E6%96%B0%E6%89%80%E6%9C%89-npm-%E4%BE%9D%E8%B5%96%E5%8C%85/" rel="alternate" type="application/rss+xml" title="Lucklyの博客 - 在阅读中遇见自己" />
<link href="/2019/04/%E4%B8%80%E8%A1%8C%E5%91%BD%E4%BB%A4%E6%9B%B4%E6%96%B0%E6%89%80%E6%9C%89-npm-%E4%BE%9D%E8%B5%96%E5%8C%85/" rel="feed" type="application/rss+xml" title="Lucklyの博客 - 在阅读中遇见自己" />
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
<link rel="manifest" href="/manifest.json">
<link rel="mask-icon" href="/safari-pinned-tab.svg" color="#5bbad5">

<script async src="//busuanzi.ibruce.info/busuanzi/2.3/busuanzi.pure.mini.js"></script>
<link href="/dist/even.06658218.min.css" rel="stylesheet">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fancyapps/fancybox@3.1.20/dist/jquery.fancybox.min.css" integrity="sha256-7TyXnr2YU040zfSP+rEcz29ggW4j56/ujTPwjMzyqFY=" crossorigin="anonymous">
<link rel="stylesheet" href="/css/reset-even.css">


<meta property="og:title" content="一行命令更新所有 npm 依赖包" />
<meta property="og:description" content="npm 包的更新速度很快，为了将项目或者全局依赖更新到最新版本。传统的做法是一个一个更新，比如更新 react 到最新版本，命令如下：


1
2
3
4


# npm
npm i --save react@latest
# yarn
yarn add react@latest


yarn 是 facebook 发明的新一代 js 包管理器，支持离线使用。这是 npm 与 yarn 的 命令对照。
但是，这种做法相当耗时。有没有更简单的方法呢？" />
<meta property="og:type" content="article" />
<meta property="og:url" content="https://luckly.work/2019/04/%E4%B8%80%E8%A1%8C%E5%91%BD%E4%BB%A4%E6%9B%B4%E6%96%B0%E6%89%80%E6%9C%89-npm-%E4%BE%9D%E8%B5%96%E5%8C%85/" />
<meta property="article:published_time" content="2019-04-21T12:55:27+08:00" />
<meta property="article:modified_time" content="2019-04-21T12:55:27+08:00" />
<meta itemprop="name" content="一行命令更新所有 npm 依赖包">
<meta itemprop="description" content="npm 包的更新速度很快，为了将项目或者全局依赖更新到最新版本。传统的做法是一个一个更新，比如更新 react 到最新版本，命令如下：


1
2
3
4


# npm
npm i --save react@latest
# yarn
yarn add react@latest


yarn 是 facebook 发明的新一代 js 包管理器，支持离线使用。这是 npm 与 yarn 的 命令对照。
但是，这种做法相当耗时。有没有更简单的方法呢？">
<meta itemprop="datePublished" content="2019-04-21T12:55:27+08:00" />
<meta itemprop="dateModified" content="2019-04-21T12:55:27+08:00" />
<meta itemprop="wordCount" content="1007">



<meta itemprop="keywords" content="Npm," />
<meta name="twitter:card" content="summary"/>
<meta name="twitter:title" content="一行命令更新所有 npm 依赖包"/>
<meta name="twitter:description" content="npm 包的更新速度很快，为了将项目或者全局依赖更新到最新版本。传统的做法是一个一个更新，比如更新 react 到最新版本，命令如下：


1
2
3
4


# npm
npm i --save react@latest
# yarn
yarn add react@latest


yarn 是 facebook 发明的新一代 js 包管理器，支持离线使用。这是 npm 与 yarn 的 命令对照。
但是，这种做法相当耗时。有没有更简单的方法呢？"/>

</head>
<body>
<div id="mobile-navbar" class="mobile-navbar">
    <div class="mobile-header-logo">
        <a href="/" class="logo">遇见</a>
    </div>
    <div class="mobile-navbar-icon">
        <span></span>
        <span></span>
        <span></span>
    </div>
</div>
<nav id="mobile-menu" class="mobile-menu slideout-menu">
    <ul class="mobile-menu-list">
        <a href="/">
            <li class="mobile-menu-item" title="首页">首页</li>
        </a>
        <a href="/post/">
            <li class="mobile-menu-item" title="归档">归档</li>
        </a>
        <a href="/categories/">
            <li class="mobile-menu-item" title="分类">分类</li>
        </a>
        <a href="/tags/">
            <li class="mobile-menu-item" title="标签">标签</li>
        </a>
        <a href="/about/">
            <li class="mobile-menu-item" title="关于我">关于我</li>
        </a>
        <a href="/friend/">
            <li class="mobile-menu-item" title="友链">友链</li>
        </a>
        <a href="https://github.com/ITmxs/">
            <li class="mobile-menu-item" title="阅读清单">阅读清单</li>
        </a>
        
    </ul>
    <form class="search-form" style="position: absolute;">
    <input name="search" type="search" style="height: 28px;padding-left: 30px;"/>
    <input type="image" src="/img/search.svg" alt="Search" style="position: absolute;left: 6px;top: 6px;"/>
</form>


</nav>

<div class="container" id="mobile-panel">
    <header id="header" class="header">
        <div class="logo-wrapper">
  <a href="/%20/" class="logo">遇见</a>
</div>

<nav class="site-navbar">
  <ul id="menu" class="menu">
    <li class="menu-item">
      <a class="menu-item-link" href="/">首页</a>
    </li><li class="menu-item">
      <a class="menu-item-link" href="/post/">归档</a>
    </li><li class="menu-item">
      <a class="menu-item-link" href="/categories/">分类</a>
    </li><li class="menu-item">
      <a class="menu-item-link" href="/tags/">标签</a>
    </li><li class="menu-item">
      <a class="menu-item-link" href="/about/">关于我</a>
    </li><li class="menu-item">
      <a class="menu-item-link" href="/friend/">友链</a>
    </li><li class="menu-item">
      <a class="menu-item-link" href="https://github.com/ITmxs/">阅读清单</a>
    </li>
  </ul>
</nav>
        <form class="search-form" style="position: absolute;">
    <input name="search" type="search" style="height: 28px;padding-left: 30px;"/>
    <input type="image" src="/img/search.svg" alt="Search" style="position: absolute;left: 6px;top: 6px;"/>
</form>



    </header>


    <main id="main" class="main">
        <div class="content-wrapper">
            <div id="content" class="content">
                <article class="post">
  
  <header class="post-header">
    <h1 class="post-title">一行命令更新所有 npm 依赖包</h1>

    <div class="post-meta">
      <span class="post-time"> 2019-04-21 </span>
      <div class="post-category">
        <a href="/categories/%E6%8A%80%E6%9C%AF/"> 技术 </a>
        </div>
      <span class="more-meta"> 约 1007 字 </span>
      <span class="more-meta"> 预计阅读 3 分钟 </span>
      <span id="busuanzi_container_page_pv" class="more-meta"> <span id="busuanzi_value_page_pv"><img src="/img/spinner.svg" alt="spinner.svg"/></span> 次阅读 </span>
    </div>
  </header>

  <div class="post-toc" id="post-toc">
  <h2 class="post-toc-title">文章目录</h2>
  <div class="post-toc-content">
    <nav id="TableOfContents">
  <ul>
    <li>
      <ul>
        <li><a href="#使用-npm-check-更新项目依赖">使用 npm-check 更新项目依赖</a></li>
        <li><a href="#使用-yarn-更新项目依赖">使用 yarn 更新项目依赖</a></li>
        <li><a href="#更新命令对照表">更新命令对照表</a></li>
        <li><a href="#检测原理">检测原理</a></li>
        <li><a href="#更新提醒">更新提醒</a></li>
        <li><a href="#不推荐使用-cnpm">不推荐使用 cnpm</a></li>
        <li><a href="#安装-nrm">安装 nrm</a></li>
        <li><a href="#查看下载镜像源">查看下载镜像源</a></li>
        <li><a href="#切换镜像源">切换镜像源</a></li>
      </ul>
    </li>
  </ul>
</nav>
  </div>
</div>
  <div class="post-content">
    <p><strong>npm</strong> 包的更新速度很快，为了将项目或者全局依赖更新到最新版本。传统的做法是一个一个更新，比如更新 <strong>react</strong> 到最新版本，命令如下：</p>
<div class="highlight"><div class="chroma">
<table class="lntable"><tr><td class="lntd">
<pre class="chroma"><code><span class="lnt">1
</span><span class="lnt">2
</span><span class="lnt">3
</span><span class="lnt">4
</span></code></pre></td>
<td class="lntd">
<pre class="chroma"><code class="language-bash" data-lang="bash"><span class="c1"># npm</span>
npm i --save react@latest
<span class="c1"># yarn</span>
yarn add react@latest
</code></pre></td></tr></table>
</div>
</div><p><strong>yarn</strong> 是 facebook 发明的新一代 js 包管理器，支持离线使用。<a href="https://yarnpkg.com/zh-Hans/docs/migrating-from-npm">这是 npm 与 yarn 的 命令对照</a>。
但是，这种做法相当耗时。有没有更简单的方法呢？</p>
<p>答案是使用 <a href="https://github.com/dylang/npm-check">npm-check</a> 或者 <a href="https://yarnpkg.com/zh-Hans/">yarn</a>。两者都需要全局安装。</p>
<div class="highlight"><div class="chroma">
<table class="lntable"><tr><td class="lntd">
<pre class="chroma"><code><span class="lnt">1
</span><span class="lnt">2
</span></code></pre></td>
<td class="lntd">
<pre class="chroma"><code class="language-bash" data-lang="bash">npm i -g yarn
npm i -g npm-check
</code></pre></td></tr></table>
</div>
</div><h2 id="使用-npm-check-更新项目依赖">使用 npm-check 更新项目依赖</h2>
<p>在项目根目录运行</p>
<div class="highlight"><div class="chroma">
<table class="lntable"><tr><td class="lntd">
<pre class="chroma"><code><span class="lnt">1
</span></code></pre></td>
<td class="lntd">
<pre class="chroma"><code class="language-bash" data-lang="bash">npm-check -u
</code></pre></td></tr></table>
</div>
</div><p>输出如下：</p>
<div class="highlight"><div class="chroma">
<table class="lntable"><tr><td class="lntd">
<pre class="chroma"><code><span class="lnt"> 1
</span><span class="lnt"> 2
</span><span class="lnt"> 3
</span><span class="lnt"> 4
</span><span class="lnt"> 5
</span><span class="lnt"> 6
</span><span class="lnt"> 7
</span><span class="lnt"> 8
</span><span class="lnt"> 9
</span><span class="lnt">10
</span><span class="lnt">11
</span><span class="lnt">12
</span><span class="lnt">13
</span></code></pre></td>
<td class="lntd">
<pre class="chroma"><code class="language-fallback" data-lang="fallback">? Choose which packages to update. (Press &lt;space&gt; to select)

 Update package.json to match version installed.
❯◯ chalk     ^1.1.3   ❯  2.4.2   https://github.com/chalk/chalk#readme
 ◯ cheerio   ^0.22.0  ❯  0.22.0  https://github.com/cheeriojs/cheerio#readme
 ◯ debug     ^2.3.3   ❯  4.1.1   https://github.com/visionmedia/debug#readme
 ◯ log4js    ^1.0.1   ❯  4.1.0   https://log4js-node.github.io/log4js-node/
 ◯ mustache  ^2.3.0   ❯  3.0.1   https://github.com/janl/mustache.js
 ◯ request   2.79.0   ❯  2.88.0  https://github.com/request/request#readme
 ◯ unescape  ^0.2.0   ❯  1.0.1   https://github.com/jonschlinkert/unescape
 ◯ yargs     ^6.4.0   ❯  13.2.2  https://yargs.js.org/

 Space to select. Enter to start upgrading. Control-C to cancel.
</code></pre></td></tr></table>
</div>
</div><p>空格切换包是否更新，<strong>Control + C</strong> 取消更新，回车就是执行更新。</p>
<h2 id="使用-yarn-更新项目依赖">使用 yarn 更新项目依赖</h2>
<p>在项目根目录运行</p>
<div class="highlight"><div class="chroma">
<table class="lntable"><tr><td class="lntd">
<pre class="chroma"><code><span class="lnt">1
</span></code></pre></td>
<td class="lntd">
<pre class="chroma"><code class="language-bash" data-lang="bash">yarn upgrade-interactive  --latest
</code></pre></td></tr></table>
</div>
</div><p>输出如下：</p>
<div class="highlight"><div class="chroma">
<table class="lntable"><tr><td class="lntd">
<pre class="chroma"><code><span class="lnt"> 1
</span><span class="lnt"> 2
</span><span class="lnt"> 3
</span><span class="lnt"> 4
</span><span class="lnt"> 5
</span><span class="lnt"> 6
</span><span class="lnt"> 7
</span><span class="lnt"> 8
</span><span class="lnt"> 9
</span><span class="lnt">10
</span><span class="lnt">11
</span><span class="lnt">12
</span><span class="lnt">13
</span><span class="lnt">14
</span><span class="lnt">15
</span><span class="lnt">16
</span><span class="lnt">17
</span><span class="lnt">18
</span><span class="lnt">19
</span><span class="lnt">20
</span><span class="lnt">21
</span><span class="lnt">22
</span><span class="lnt">23
</span></code></pre></td>
<td class="lntd">
<pre class="chroma"><code class="language-fallback" data-lang="fallback">yarn upgrade-interactive v1.15.2
info Color legend :
 &#34;&lt;red&gt;&#34;    : Major Update backward-incompatible updates
 &#34;&lt;yellow&gt;&#34; : Minor Update backward-compatible features
 &#34;&lt;green&gt;&#34;  : Patch Update backward-compatible bug fixes
? Choose which packages to update. (Press &lt;space&gt; to select, &lt;a&gt; to toggle all,
&lt;i&gt; to invert selection)
 dependencies
   name      range   from       to          url
❯◯ chalk     latest  1.1.3   ❯  2.4.2       https://github.com/chalk/chalk#readm
e
 ◯ cheerio   latest  0.22.0  ❯  1.0.0-rc.3  https://github.com/cheeriojs/cheerio
#readme
 ◯ debug     latest  2.6.9   ❯  4.1.1       https://github.com/visionmedia/debug
#readme
 ◯ log4js    latest  1.1.1   ❯  4.1.0       https://log4js-node.github.io/log4js
-node/
 ◯ mustache  latest  2.3.2   ❯  3.0.1       https://github.com/janl/mustache.js
 ◯ request   latest  2.79.0  ❯  2.88.0      https://github.com/request/request#r
eadme
 ◯ unescape  latest  0.2.0   ❯  1.0.1       https://github.com/jonschlinkert/une
scape
 ◯ yargs     latest  6.6.0   ❯  13.2.2      https://yargs.js.org/
</code></pre></td></tr></table>
</div>
</div><p><strong>yarn</strong> 提供了全选切换功能，就是按键 <strong>A</strong>，空格切换包是否更新，<strong>Control + C</strong> 取消更新，回车就是执行更新。</p>
<p><strong>yarn</strong> 的更新命令太长了，谁记得住，这种时候，请合理使用命令行工具的帮助，比如运行 <strong>yarn help</strong>。</p>
<h2 id="更新命令对照表">更新命令对照表</h2>
<p>更新全局依赖同上</p>
<table>
<thead>
<tr>
<th>说明</th>
<th>yarn</th>
<th>npm-check</th>
</tr>
</thead>
<tbody>
<tr>
<td>更新项目依赖，没有交互</td>
<td>yarn upgrade &ndash;latest</td>
<td>npm-check -y</td>
</tr>
<tr>
<td>更新项目依赖，有交互</td>
<td>yarn upgrade-interactive &ndash;latest</td>
<td>npm-check -u</td>
</tr>
<tr>
<td>更新全局依赖，没有交互</td>
<td>yarn global upgrade &ndash;latest</td>
<td>npm-check -g -y</td>
</tr>
<tr>
<td>更新全局依赖，有交互</td>
<td>yarn global upgrade-interactive &ndash;latest</td>
<td>npm-check -g -u</td>
</tr>
</tbody>
</table>
<h2 id="检测原理">检测原理</h2>
<p><strong>yarn</strong> 是根据 <strong>yarn.lock</strong> 文件来检测版本是否是最新的，所以项目是使用 <strong>npm</strong> 安装依赖包，更新前要运行 <code>yarn install</code> 一下。</p>
<p><strong>npm-check</strong> 是检测 <strong>package.json</strong> 文件，项目存在 <strong>node_modules</strong> 文件夹即可更新。</p>
<h2 id="更新提醒">更新提醒</h2>
<p>没有交互就是将依赖包直接更新到最新版本，推荐使用交互式更新，会有更新的警告信息。</p>
<p><strong>最新的依赖包，API 可能发生重大改变。为了顺利更新，更新前请 <code>git commit</code> 一下，更新失败了也能顺利回退。</strong></p>
<h2 id="不推荐使用-cnpm">不推荐使用 cnpm</h2>
<p>为了加快安装依赖的安装速度，可能被同事安利 <strong>cnpm</strong>，但是这样会导致包的依赖安装不正常，项目无法运行。</p>
<p>更好的做法是使用 <a href="https://github.com/Pana/nrm">nrm</a> 切换下载源。</p>
<p>平时使用 <strong>yarn</strong> 装包，<strong>npm</strong> 运行脚本。</p>
<h2 id="安装-nrm">安装 nrm</h2>
<div class="highlight"><div class="chroma">
<table class="lntable"><tr><td class="lntd">
<pre class="chroma"><code><span class="lnt">1
</span></code></pre></td>
<td class="lntd">
<pre class="chroma"><code class="language-bash" data-lang="bash">npm i -g nrm
</code></pre></td></tr></table>
</div>
</div><h2 id="查看下载镜像源">查看下载镜像源</h2>
<div class="highlight"><div class="chroma">
<table class="lntable"><tr><td class="lntd">
<pre class="chroma"><code><span class="lnt">1
</span></code></pre></td>
<td class="lntd">
<pre class="chroma"><code class="language-bash" data-lang="bash">nrm ls
</code></pre></td></tr></table>
</div>
</div><p>输出如下</p>
<div class="highlight"><div class="chroma">
<table class="lntable"><tr><td class="lntd">
<pre class="chroma"><code><span class="lnt">1
</span><span class="lnt">2
</span><span class="lnt">3
</span><span class="lnt">4
</span><span class="lnt">5
</span><span class="lnt">6
</span></code></pre></td>
<td class="lntd">
<pre class="chroma"><code class="language-fallback" data-lang="fallback">  npm ---- https://registry.npmjs.org/
  cnpm --- http://r.cnpmjs.org/
* taobao - https://registry.npm.taobao.org/
  nj ----- https://registry.nodejitsu.com/
  npmMirror  https://skimdb.npmjs.com/registry/
  edunpm - http://registry.enpmjs.org/
</code></pre></td></tr></table>
</div>
</div><h2 id="切换镜像源">切换镜像源</h2>
<div class="highlight"><div class="chroma">
<table class="lntable"><tr><td class="lntd">
<pre class="chroma"><code><span class="lnt">1
</span></code></pre></td>
<td class="lntd">
<pre class="chroma"><code class="language-bash" data-lang="bash">nrm use taobao
</code></pre></td></tr></table>
</div>
</div><p>装包命令不变，比如安装 <strong>react</strong> 。</p>
<div class="highlight"><div class="chroma">
<table class="lntable"><tr><td class="lntd">
<pre class="chroma"><code><span class="lnt">1
</span><span class="lnt">2
</span><span class="lnt">3
</span><span class="lnt">4
</span></code></pre></td>
<td class="lntd">
<pre class="chroma"><code class="language-bash" data-lang="bash"><span class="c1"># npm</span>
npm i --save react
<span class="c1"># yarn</span>
yarn add react
</code></pre></td></tr></table>
</div>
</div><p>体验飞一般的装包速度，再也不是装包一小时，码代码五分钟。</p>
  </div>

  <div class="post-copyright">
  <p class="copyright-item">
    <span class="item-title">文章作者</span>
    <span class="item-content">Luckly</span>
  </p>
  <p class="copyright-item">
    <span class="item-title">上次更新</span>
    <span class="item-content">
        2019-04-21
        
    </span>
  </p>
  
  
</div>
<footer class="post-footer">
    <div class="post-tags">
      <a href="/tags/npm/">Npm</a>
      </div>
    <nav class="post-nav">
      <a class="prev" href="/2019/04/%E8%A7%A3%E5%86%B3-react-native-%E5%9C%A8-mac-%E4%B8%8B%E5%90%AF%E5%8A%A8%E6%8A%A5-error-code-65/">
        <i class="iconfont icon-left"></i>
        <span class="prev-text nav-default">解决 React-Native 在 Mac 下启动报 error code 65</span>
        <span class="prev-text nav-mobile">上一篇</span>
      </a>
      <a class="next" href="/2019/04/vue-cli-3.x-%E9%A1%B9%E7%9B%AE%E9%83%A8%E7%BD%B2%E5%88%B0-github-pages/">
        <span class="next-text nav-default">vue cli 3.x 项目部署到 github pages</span>
        <span class="next-text nav-mobile">下一篇</span>
        <i class="iconfont icon-right"></i>
      </a>
    </nav>
  </footer>
  
</article>
            </div>
            

        </div>
    </main>

    <footer id="footer" class="footer">
        <div class="social-links">
  <a href="852851198@qq.com" class="iconfont icon-email" title="email" rel="noopener" target="_blank" data-title="email"> </a>
  <a href="https://github.com/ITmxs" class="iconfont icon-github" title="github" rel="noopener" target="_blank" data-title="github"> </a>
  <a href="https://juejin.cn/user/3843548384077192" class="iconfont icon-juejin" title="juejin" rel="noopener" target="_blank" data-title="juejin"> </a>
  <a href="https://www.zhihu.com/people/yimi-yang-guang-96-65" class="iconfont icon-zhihu" title="zhihu" rel="noopener" target="_blank" data-title="zhihu"> </a>
  <a href="https://space.bilibili.com/480883651" class="iconfont icon-bilibili" title="bilibili" rel="noopener" target="_blank" data-title="bilibili"> </a>
  <a href="https://luckly.work/index.xml" type="application/rss+xml" rel="noopener" target="_blank" class="iconfont icon-rss" title="rss"></a>


</div>

<div class="copyright">
  <span class="power-by">
    由 <a class="hexo-link" href="https://gohugo.io">Hugo</a> 强力驱动
  </span>
  <span class="division">|</span>
  <span class="theme-info">
    主题 -
    <a class="theme-link" href="https://github.com/olOwOlo/hugo-theme-even">Even</a>
  </span>

  <div class="busuanzi-footer">
    <span id="busuanzi_container_site_pv"> 本站总访问量 <span id="busuanzi_value_site_pv"><img src="/img/spinner.svg" alt="spinner.svg"/></span> 次 </span>
    <span class="division">|</span>
    <span id="busuanzi_container_site_uv"> 本站总访客数 <span id="busuanzi_value_site_uv"><img src="/img/spinner.svg" alt="spinner.svg"/></span> 人 </span>
  </div>

  <span class="copyright-year">
    &copy;
    2020 -
    2021
    <span class="heart">
      <i class="iconfont icon-heart"></i>
    </span>
    <span class="author">Luckly</span>
  </span>
</div>

    </footer>

    <div class="back-to-top" id="back-to-top">
        <i class="iconfont icon-up"></i>
    </div>
</div>
<script src="/lib/highlight/highlight.pack.js?v=20171001"></script>
  <script src="https://cdn.jsdelivr.net/npm/jquery@3.2.1/dist/jquery.min.js" integrity="sha256-hwg4gsxgFZhOsEEamdOYGBf13FyQuiTwlAQgxVSNgt4=" crossorigin="anonymous"></script>
  <script src="https://cdn.jsdelivr.net/npm/slideout@1.0.1/dist/slideout.min.js" integrity="sha256-t+zJ/g8/KXIJMjSVQdnibt4dlaDxc9zXr/9oNPeWqdg=" crossorigin="anonymous"></script>
  <script src="https://cdn.jsdelivr.net/npm/@fancyapps/fancybox@3.1.20/dist/jquery.fancybox.min.js" integrity="sha256-XVLffZaxoWfGUEbdzuLi7pwaUJv1cecsQJQqGLe7axY=" crossorigin="anonymous"></script>
<script type="text/javascript" src="/dist/even.47f727f4.min.js"></script>








</body>
</html>
